package com.erp.produce.dao;

import com.erp.produce.entity.Cooperatives;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CooperativesDao extends JpaRepository<Cooperatives,Long> {

    List<Cooperatives> findAllByNameLike(String name, Pageable pageable);
}
